package com.orangecy.common.exception;

/**
 * @Author : orangeCy.奕
 * @Time : 2021/9/18
 * @desc : 猎豹养成产品源码
 */
public class OrangeCyException extends RuntimeException {

    private static final long serialVersionUID = -3229155698486845296L;

    private String errCode;

    private String message;

    public OrangeCyException(String errorCode,String message) {
        this.errCode = errorCode;
        this.message = message;
    }

    public OrangeCyException(String message) {
        this.message = message;
    }
}